Skip to main content

Dataview Notes

Dataview Notes​

A Dataview Note allows you to run any valid Dataview from query, and add Breadcrumbs to all notes that match the query.

The query must be wrapped in quotes, and folder names must be wrapped in double quotes. Therefore, to avoid confusing Yaml, you need to wrap the entire query in single quotes, so that folders can be wrapped in double quotes.

The query is passed directly into the Dataview API, so you can troubleshoot it by running app.plugins.plugins.dataview.api.pages(query: string) in the Obsidian console

For example, to automatically mark all notes link to note A as their parent, you can use:

---
BC-dataview-note: "[[A]]"
BC-dataview-note-field: parent
---